home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
e
/
misc.save
/
000133_fdc@panix.com_Wed Dec 12 14:24:25 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: reader1.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Screen Capture
Date: Wed, 12 Dec 2007 19:24:19 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 50
Message-ID: <slrnfm0db3.p5g.fdc@panix2.panix.com>
References: <h654j.66697$RX.26340@newssvr11.news.prodigy.net> <13l6v29jqcmhl2e@corp.supernews.com> <g3J7j.77732$YL5.57974@newssvr29.news.prodigy.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix2.panix.com
X-Trace: reader1.panix.com 1197487459 140 166.84.1.2 (12 Dec 2007 19:24:19 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 12 Dec 2007 19:24:19 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15715
On 2007-12-12, 2damn <2damn@nospam.com> wrote:
: On Mon, 03 Dec 2007 03:47:21 +0000, Robert Bonomi wrote:
:> In article <h654j.66697$RX.26340@newssvr11.news.prodigy.net>, 2damn
:> <2damn@nospam.com> wrote:
:> Kermit has the 'log' command that will provide various kinds of gory
:> detail to a file. 'log session' before a 'connect' command, and you wil
:> capture all the interactive stuff you do, and which you can use to
:> built a script from.
:>
:> This approach fails if the remote system thinks its talking to something
:> where it can play cursor-positioning and selective over-write games.
:>
:> If you can tell the remote computer that you're using some kind of a
:> 'dumb' hard-copy terminal this issue is moot.
:>
:> Else, screen-scraping gets *VERY* complex.
:
: I tried "log" and it does contain communication data that is not useful
: for me. And some bits are total garbage so there may be some of what you
: mention in your second paragraph going on.
:
The garbage is mostly likely escape sequences and control characters from the
host application.
: I have found that "cat /dev/vcsX" can copy ttyX, but of course not my
: ttySX.
:
That would be the same as Kermit's session log -- it's just a copy of the
incoming data stream.
: I can format the capture with newlines (dd) and trim what I want
: (sed). Attempting to get it to work on the serial lines.
:
As explained here:
http://www.columbia.edu/kermit/ckfaq.html#term
C-Kermit (unlike Kermit 95 on Windows) is not a terminal emulator; it's a
communications pipe between the remote system and your terminal window or
console driver, the latter being the component that handles the terminal
emulation.
If your terminal emulation is ANSI-compliant (such as VT100, VT220, etc),
we have a utility for stripping escape sequences from session logs:
http://www.columbia.edu/kermit/ftp/utils/rmescseq.c
It doesn't interpret the escape sequences, it just removes them.
- Frank